import mongoose from "mongoose";

let UserSchema = new mongoose.Schema({
    // _id: mongoose.Schema.Types.ObjectId,
    userId: String,
    userName: String,
    email: String,
    chineseName: String,
    role: Number // 1:超级管理员 2:管理员 3:普通用户
});

let User = mongoose.model("users", UserSchema);

export default User;
